/**
 * @作者:hyh
 * @组件说明:环境配置
 * @组件:
 * @param:
 * @method:
 */
const isEnvProduction = process.env.REACT_APP_ENV === 'production';

const development = {
	// 配置预发和本地环境接口
	env: 'development',
	isDevelopment: true,
	apis: {
		base: '线下环境',
	},
	socket: '',
};

const production = {
	// 配置生产环境接口地址
	env: 'production',
	isDevelopment: false,
	apis: {
		base: '线上环境',
	},
	socket: '',
};

const Env = isEnvProduction ? production : development;

export default Env;
